/*
 * ConfigResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.net.BaseResponse;

/** 配置列表Response */
public class ConfigResponse extends BaseResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        /** 服务器当前配置文件版本 */
        @SerializedName("version")
        private String version;

        /** 电话号码正则 */
        @SerializedName("mobile_pattern")
        private String mobilePattern;

        //        @SerializedName("region_list")
        //        private RegionInfo regionInfo;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getMobilePattern() {
            return mobilePattern;
        }

        public void setMobilePattern(String mobilePattern) {
            this.mobilePattern = mobilePattern;
        }

        //        public RegionInfo getRegionInfo() {
        //            return regionInfo;
        //        }
        //
        //        public void setRegionInfo(RegionInfo regionInfo) {
        //            this.regionInfo = regionInfo;
        //        }
    }

    //    /**
    //     * 添加或删除的地址信息
    //     */
    //    public static class RegionInfo {
    //
    //        @SerializedName("add")
    //        private Address addAddressInfo;
    //
    //        @SerializedName("delete")
    //        private Address deleteAddressInfo;
    //
    //        public Address getAddAddressInfo() {
    //            return addAddressInfo;
    //        }
    //
    //        public void setAddAddressInfo(Address addAddressInfo) {
    //            this.addAddressInfo = addAddressInfo;
    //        }
    //
    //        public Address getDeleteAddressInfo() {
    //            return deleteAddressInfo;
    //        }
    //
    //        public void setDeleteAddressInfo(Address deleteAddressInfo) {
    //            this.deleteAddressInfo = deleteAddressInfo;
    //        }
    //    }
}
